
#ifndef _MEMBER_BAUDIO_H_
#define _MEMBER_BAUDIO_H_

#include <BAudio>

#define audio_member(audio)		((member_BAudio*)((BAudio*)audio)->_ptr)

namespace BWE
{
	class member_BAudio
	{
	public:
		member_BAudio(BAudio* audio);
		~member_BAudio();

		BAudio*				boss;
		BString				fileName;
		Policy				policy;
		Format				format;
		int					channelCount;
		int					sampleRate;
		int					formatLen;
		BHolder<BByteArray>	bytes;
		bool				dirty;
	};
}

#endif